Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Conversation

@jcantrill
Copy link
Contributor

This PR fixes https://bugzilla.redhat.com/show_bug.cgi?id=1677351 by:

  • Restricting CLO to install/watch of targeted namespaces
  • Restricting EO to install/watch globally for re-use by Jaeger
  • Breaks out EO into separate CSV

cc @ewolinetz @ecordell @pavolloffay

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 20, 2019
@openshift-ci-robot
Copy link
Collaborator

Hi @jcantrill. Thanks for your PR.

I'm waiting for a operator-framework member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 20, 2019
@jcantrill
Copy link
Contributor Author

Any reason we need to wait until post Feb 22 to merge this? Functionally it should be the same aside from requiring users to explicitly install EO and CLO

cc @anpingli

@ewolinetz
Copy link
Contributor

looks correct to me based on our earlier conversation

@SamiSousa
Copy link
Contributor

Does CLO require EO to work? Is there a requirement that EO be installed before CLO now that they are separated?

@ewolinetz
Copy link
Contributor

@SamiSousa EO requires either CLO or the Jaeger operator so that required secrets for the resulting deployments created by EO are available, as well as being responsible for creating the CR that the EO watches.

We want EO installed before so that we do not run into the dependency resolving issue where CLO is restricted to a single namespace and then EO is installed in the same way (into a single namespace).


Once installed, the operator provides the following features:
* **Create/Destroy**: Deploy an Elasticsearch cluster to the same namespace in which the Elasticsearch custom resource is created.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any docs for using this operator with CLO or jaeger? Could these be included either in this description or the description of CLO/jaeger?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what additional documentation applies other then:

    This operator only supports OKD Cluster Logging and Jaeger.  It is tightly coupled to each and is not currently capable of
    being used as a general purpose manager of Elasticsearch clusters running on OKD.

What more is there to say? The operator will act upon any elasticsearch that is created. It is immaterially that CLO or Jaeger created the resource.

Copy link
Contributor

@SamiSousa SamiSousa Feb 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That verbiage in the description is sufficient. I thought there might have been a more complicated setup, but as long as it's clear in the EO description that it is meant for CLO and jaeger, and in the CLO description that EO is required for some functionality, then it's fine.

@jcantrill jcantrill force-pushed the 1677351_part_deux branch 2 times, most recently from e412f19 to 6ec8184 Compare February 27, 2019 15:13
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 27, 2019
@jcantrill jcantrill force-pushed the 1677351_part_deux branch 2 times, most recently from d9934d4 to 49b8812 Compare February 27, 2019 19:52
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 27, 2019
@jcantrill jcantrill force-pushed the 1677351_part_deux branch 2 times, most recently from 83c427e to d936566 Compare February 27, 2019 20:21

Once installed, the Cluster Logging Operator provides the following features:
* **Create/Destroy**: Launch and create an aggregated logging stack in the `openshift-logging` namespace.
* **Create/Destroy**: Launch and create an aggregated logging stack to support the entire OKD cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the operator only supports SingleNamespace, how is it supposed to support "the entire OKD cluster"? Unless the application pod is responsible for that.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logging stack supports the entire OKD cluster. The cluster-logging-operator only runs in a single namespace.

@jcantrill jcantrill force-pushed the 1677351_part_deux branch from d936566 to e7edf69 Compare March 1, 2019 14:31
@richm
Copy link

richm commented Mar 4, 2019

What's the holdup here?

@jcantrill jcantrill force-pushed the 1677351_part_deux branch from e7edf69 to 292fa9a Compare March 4, 2019 19:41
…se EO without installing CL

bug 1684329. Include openshift-logging in CSV example
bug 1683701. CLO ability to list ClusterLogging
Copy link
Contributor

@SamiSousa SamiSousa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 5, 2019
@SamiSousa SamiSousa merged commit e18c827 into operator-framework:master Mar 5, 2019
@SamiSousa
Copy link
Contributor

Operator bundles for cluster-logging and elasticsearch-operator have been pushed into the community-operators namespace on quay

@jcantrill jcantrill deleted the 1677351_part_deux branch March 5, 2019 13:45
@richm
Copy link

richm commented Mar 5, 2019

What is the process for getting updates to community operators into a 4.0 cluster? How long does it take from when a PR merges to when I can install a 4.0 cluster with the fixes in it?

@aravindhp
Copy link
Member

We sync with Quay every hour, so you should see updates in that time frame. Please ensure your cluster is running with operator-framework/operator-marketplace#125 which fixes a bug with updates.

@richm
Copy link

richm commented Mar 5, 2019

Please ensure your cluster is running with operator-framework/operator-marketplace#125

How do I ensure that? If I create a cluster now, will it have that fix?

@aravindhp
Copy link
Member

If you use the latest installer built from master, it should have that fix. You can also confirm by executing oc adm release info `oc get clusterversion -o yaml | grep image | head -n 1 | awk '{print $2}'` --commits | grep marketplace and checking the commit hash against https://github.com/operator-framework/operator-marketplace/. Please note that you need a 4.0 oc binary for the command to work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm Indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants